{foreach from=$comments_list item=comment key=key}
  1. 第{$key}楼 {$comment.user_name}{if $comment.user_id eq 0}(未注册用户){/if} 发表于 {$comment.add_time}
    {if $comment.children} {foreach from=$comment.children item=children}
    1. 引用{$children.user_name}发表于的评论:{$children.add_time}
      {/foreach} {foreach from=$comment.children item=children} {$children.content}
    {/foreach} {/if} {$comment.content}
  2. {/foreach}
{if $page_count>1}
    总共{$page_count}页,当前第{$pg}页 | 页数: {foreach from=$page_arr item=page}
  1. {$page.name}
  2. {/foreach}
{/if}